package sy.service;

import sy.pageModel.BaseEntity;
import sy.pageModel.DataGrid;
import sy.pageModel.DeptInfo;

import java.util.List;

/**
 * Created by Administrator on 2016-06-29.
 */
public interface InfoServiceI {
    List<BaseEntity> findList(String ids);

    DataGrid detagrid(DeptInfo info);

    /**
     * 添加单位所属栏目信息
     * @param info
     * @return
     */
    int addInfoService(DeptInfo info)throws Exception;

    /**
     * 修改单位所属栏目信息
     * @param info
     * @return
     */
    int editInfoService(DeptInfo info)throws Exception;

    /**
     * 修改单位所属栏目信息
     * @param info
     * @return
     */
    int deleteInfoService(DeptInfo info)throws Exception;
}
